# config.py
import os

class Config:
    # 网页部署
    # SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://yoloking:rootroot@yoloking.mysql.pythonanywhere-services.com/yoloking$emailmanagement?charset=utf8mb4'
    # 本地部署
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:root@localhost:3306/emailmanagement?charset=utf8mb4'
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SECRET_KEY = os.urandom(24)
